<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>상준이와 시내의 사랑이야기</title>
<!-- jQuery theme CSS -->
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery.ui.theme.css">
<!-- BootStrap CSS -->
<link rel="stylesheet" href="css/bootstrap.css">
<!-- link rel="stylesheet" href="bootstrap/css/bootstrap-theme.css" -->
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style type="text/css">
.container {
	margin: 0 auto;
	vertical-align: middle;
}
</style>
</head>
<body>
	<div class="container">
		<div class="row">
			<div class="col-md-4 col-md-offset-4 col-sm-8 col-sm-offset-2">
				<div id="gateImg">
					<img class="img-rounded img-responsive" id="gateImg" alt="Welcome to out home" src="img/IMG_0489.JPG">
				</div>
				<div class="text-center" id="enter">
					<button type="button" class="btn btn-default btn-lg" id="enterBtn">들어가볼까?</button>
				</div>
				<div class="text-center" id="audio">
					<audio id="audioDemo" controls="controls" loop="loop">
						<source src="audio/propose.mp3" type="audio/mpeg"></source>
					</audio>
				</div>
			</div>
		</div>
			
		
	</div>
	<!-- JQuery :: before Bootstrap -->
	<script type="text/javascript" src="script/jquery-1.11.0.min.js"></script>
	<script type="text/javascript" src="script/jquery.color-2.1.2.js"></script>
	<!-- BootStrap JS -->
	<script type="text/javascript" src="script/bootstrap.min.js"></script>
	<!-- User Define JS -->
	<script type="text/javascript">
	init();
	
	$("#enterBtn").click(function(){
		$(".container").fadeOut('slow', function(){
			$("#audioDemo").removeClass("controls");
		});
	});
	
	function init(){
		$("#gateImg").hide();
		$("#enter").hide();
		$("#gateImg").fadeIn(3000, function(){
			$("#enter").fadeIn('slow');
			$("#audio").fadeIn('slow');
		});
	}
	</script>
</body>
</html>